package cn.ethan.demo.design.pay;

import cn.ethan.demo.design.mode.PayMode;

import java.math.BigDecimal;

/**
 * 支付接口
 *
 * @author 张俊辉
 */
public abstract class Pay {

    protected final PayMode payMode;

    public Pay(PayMode payMode) {
        this.payMode = payMode;
    }

    public abstract String transfer(String uId, String tradeId, BigDecimal amount);
}
